#ifndef npc_hpp
#define npc_hpp

#include "main.hpp"
#include "eq.hpp"
#include "dialog.hpp"

class cNPC
{
	private:
		float angle;
		float frame;
		BITMAP * img;
		BITMAP * tmp;

	public:
		cEQ * eq;
		sPoint * pos;
		cDialog * dialog;

		void addSubDialog(cDialog * dial, std::string c, std::string a);

        void draw(BITMAP * bufor, sPoint * show, sPoint * shift, bool ** fog, bool fogOn);

		cNPC(float x, float y, float a, const char * filename, cItemResources * itemRes);
		~cNPC();
};


#endif
